"use strict"

// console.log("hello");

// let a = "猪八戒";

// let str = `你好，${a}`;
// console.log(str);

// let a = null;
// a = String(a);
// console.log(a, typeof a);

// function fn(){};

// const sum = (a, b) => a + b;

// const fn = () => ({name:"孙悟空"});

// let result = sum(123, 456);

// //result = fn();

// console.log(result);

class Person
{
    m_name;
    m_age;

    constructor(name, age)
    {
        this.m_name = name;
        this.m_age = age;
    }
};

let person1 = new Person("1号", 12);
person1.gender = "男";

let person2 = new Person("2号", 13);

console.log(person1);
console.log(person2, person2.gender);


